package com.roger.myHome.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roger.myHome.domain.TbUseMedicine;
import com.roger.myHome.entity.UseMedicineQryReq;
import com.roger.myHome.entity.vo.UseMedicineVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UseMedicineMapper extends BaseMapper<TbUseMedicine> {
    List<UseMedicineVo> list(UseMedicineQryReq qryReq);

    List<UseMedicineVo> findByBloodSugar(String useTime);

    Integer selectCount(UseMedicineQryReq qryReq);

}
